#!bin/bash
#

read -p "磁盘: " mount

use=$(df -hT | grep "${mount}$" | awk '{print $6}' | awk -F% '{print $ 1}')

if [ $use -gt 20 ];then
   echo "警告"
else
   echo "正常"
fi
